package org.rcgwt.client.ui.validator;

/**
 * A Formatter interface which provides a format method.
 * 
 * @author Elian ORIOU
 * 
 */

public interface IFormatter extends IValidatorElement {

	/**
	 * Analyzes a string and return the formatted form of the analyzed string.
	 * 
	 * @param context
	 * @param ttf
	 *            The string to format
	 * @param parameters
	 * 
	 * @return The formatted form of the String <i>ttf</i>
	 */
	String format(IClientValidatorContext context, String ttf);

}
